package com.zkthink.ceres.order.vo;

import com.zkthink.ceres.order.entity.GoodsReturn;
import com.zkthink.ceres.order.entity.MoneyReturn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
@ApiModel("订单列表，每个订单的信息")
public class OrderVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单id")
    private Long id;

    @ApiModelProperty("订单编号")
    private String orderCode;

    @ApiModelProperty("店铺id")
    private Long storeId;

    @ApiModelProperty("店铺名称")
    private String storeName;

    @ApiModelProperty("订单状态")
    private Integer orderStatus;

    @ApiModelProperty("售后类型 -1 无售后  1-退款 2-退货")
    private Integer returnType;

    @ApiModelProperty("物流公司编码")
    private String shipperCode;

    @ApiModelProperty("物流单号")
    private String logisticsNum;

    @ApiModelProperty("订单金额")
    private Long orderSum;

    @ApiModelProperty("订单消费金额")
    private Long discountAmount;

    @ApiModelProperty("运费")
    private Long postFee;

    @ApiModelProperty("支付金额")
    private Long paySum;

    @ApiModelProperty("待付款订单超时时间")
    private LocalDateTime overTime;

    @ApiModelProperty("子订单下的各个商品信息")
    private List<OrderProductVO> orderProductVOList;

    @ApiModelProperty("退款单列表")
    private List<MoneyReturn> moneyReturnList;

    @ApiModelProperty("退货单列表")
    private List<GoodsReturn> goodsReturnList;

}
